<div id="sidebar">
  <p id="explanation">
    寻找对您重要的事情, 实现目标, 分享您的经过. 写在您的<%="app_title".t%>  
    
  </p>
  
  <h4>Today's Users</h4>
  <ul >
    <div style="height:150px">
      <%= render :partial => '/partial/top_user',:locals=>{:user_lists=>@user_lists} %>
    </div>
    
    <h5 class="seeall">&rarr; <a href=""><%= "more".t%></a></h5>
  </ul>
  
</div>

<div id="main">
  <noscript>
    <div class="errormessage">
      <ul>
        <li>Your browser does not have JavaScript enabled. Some of the site features will not function properly.</li>
      </ul>
    </div>
  </noscript>
  
  <div id="introblock">
    <h1><%= "Nothing_Impossible".t%></h1>
    <form method="post" action="/things/add">
      <fieldset>
        
        <div id="biggoalfield">
          <div>
            <!--<input id="goal_name" name="goal[name]" type="text" autocomplete="off" />-->
            <%= text_field_with_auto_complete :thing,:title %>
          </div>
          
        </div>
        <input type="submit" value="<%= "I_want_to_do_this".t%>" />
      </fieldset>
        
     </form>
    <script type="text/javascript">
        document.getElementById('goal_name').focus();
    </script>
  </div>
  
  
  <div class="goalsoup">
    
    <h2>最新goals</h2>
    <%for thing in @things%>
      <span class="level1"><a href="/things/view/<%=thing.id%>" title="get published"><%=thing.title%></a>(<%=thing.users_count%>)</span>		
    <%end%>
    
    <h5 class="seeall">&rarr; <a href=""><%= "more".t%></a></h5>
  </div>


</div>

